\hypertarget{pattern_8c}{}\doxysubsection{extern/libembroidery/src/pattern.c File Reference}
\label{pattern_8c}\index{extern/libembroidery/src/pattern.c@{extern/libembroidery/src/pattern.c}}
{\ttfamily \#include $<$stdio.\+h$>$}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
{\ttfamily \#include $<$string.\+h$>$}\newline
{\ttfamily \#include $<$math.\+h$>$}\newline
{\ttfamily \#include \char`\"{}embroidery\+\_\+internal.\+h\char`\"{}}\newline
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$ \mbox{\hyperlink{pattern_8c_a7454ecbf98b46d74f1138772b6c9244f}{emb\+Pattern\+\_\+create}} (void)
\item 
void \mbox{\hyperlink{pattern_8c_a5bb50be01adbf928259862522b20a7ef}{emb\+Pattern\+\_\+hide\+Stitches\+Over\+Length}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p, int length)
\item 
int \mbox{\hyperlink{pattern_8c_a47939925c2c6e7a4c48f3341d5646cac}{emb\+Pattern\+\_\+add\+Thread}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern, \mbox{\hyperlink{embroidery_8h_ab3faffce89b1a5043f8b4e3a001a70bd}{Emb\+Thread}} thread)
\item 
void \mbox{\hyperlink{pattern_8c_a07b42ab1ae4028608bf4462d4a5abbcc}{emb\+Pattern\+\_\+fix\+Color\+Count}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p)
\item 
void \mbox{\hyperlink{pattern_8c_a007fd0ac881d6ac89ef4d42b280df25c}{emb\+Pattern\+\_\+copystitch\+\_\+list\+To\+Polylines}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p)
\item 
void \mbox{\hyperlink{pattern_8c_a54aee02ff890052e686ee3833530810e}{emb\+Pattern\+\_\+copy\+Polylines\+Tostitch\+\_\+list}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p)
\item 
void \mbox{\hyperlink{pattern_8c_a53eb1589455d6b26f039bc896896c318}{emb\+Pattern\+\_\+movestitch\+\_\+list\+To\+Polylines}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p)
\item 
void \mbox{\hyperlink{pattern_8c_a36011b0cbca0eff52965384fc39428cf}{emb\+Pattern\+\_\+move\+Polylines\+Tostitch\+\_\+list}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p)
\item 
void \mbox{\hyperlink{pattern_8c_a17fc7b79b4797c2fe3525a0d98d2c7a1}{emb\+Pattern\+\_\+add\+Stitch\+Abs}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p, \mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}} x, \mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}} y, int flags, int is\+Auto\+Color\+Index)
\item 
void \mbox{\hyperlink{pattern_8c_a5b40e9cf89cafe0759660391bb077157}{emb\+Pattern\+\_\+add\+Stitch\+Rel}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p, \mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}} dx, \mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}} dy, int flags, int is\+Auto\+Color\+Index)
\item 
void \mbox{\hyperlink{pattern_8c_a3eeb95756c08038c1c34f7684eb89fbb}{emb\+Pattern\+\_\+change\+Color}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p, int index)
\item 
void \mbox{\hyperlink{pattern_8c_a0a009a0eb0cb46f3448670f22898c0d6}{emb\+Pattern\+\_\+scale}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p, \mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}} scale)
\item 
\mbox{\hyperlink{embroidery_8h_ac2f33b151fc40a0da3b14379aa0ec653}{Emb\+Rect}} \mbox{\hyperlink{pattern_8c_ac7b08c708386bb4559bc697aba059606}{emb\+Pattern\+\_\+calc\+Bounding\+Box}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p)
\item 
void \mbox{\hyperlink{pattern_8c_a03aeabbb8a0817a43c99e21b13cb385d}{emb\+Pattern\+\_\+flip\+Horizontal}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p)
\item 
void \mbox{\hyperlink{pattern_8c_a9290c221f3fe26b76d2ba89f55c7506e}{emb\+Pattern\+\_\+flip\+Vertical}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p)
\item 
void \mbox{\hyperlink{pattern_8c_abc02ab8185e23b961cfaf0146959fc9b}{emb\+Pattern\+\_\+flip}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p, int horz, int vert)
\item 
void \mbox{\hyperlink{pattern_8c_ae90a804c5c8c1672a93b334ef7df5751}{emb\+Pattern\+\_\+combine\+Jump\+Stitches}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p)
\item 
void \mbox{\hyperlink{pattern_8c_a6d1fde93564a15d1ec24399fc613d1ac}{emb\+Pattern\+\_\+correct\+For\+Max\+Stitch\+Length}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p, \mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}} max\+Stitch\+Length, \mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}} max\+Jump\+Length)
\item 
void \mbox{\hyperlink{pattern_8c_a946dffa0158312022c6d29ace7bcaa5f}{emb\+Pattern\+\_\+center}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p)
\item 
void \mbox{\hyperlink{pattern_8c_affce36de035972e292b112c90c0a3db3}{emb\+Pattern\+\_\+load\+External\+Color\+File}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p, const char $\ast$file\+Name)
\item 
void \mbox{\hyperlink{pattern_8c_a644e83f2c9bcb606bc0b252a6fe443ed}{emb\+Pattern\+\_\+free}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p)
\item 
void \mbox{\hyperlink{pattern_8c_a57eea8d07ef409b346274e1dbef1b1eb}{emb\+Pattern\+\_\+add\+Circle\+Abs}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p, \mbox{\hyperlink{embroidery_8h_a87fc13ccd4dbaa7de7c85efde17bba0e}{Emb\+Circle}} circle)
\item 
void \mbox{\hyperlink{pattern_8c_a9d7baeee25db478c3477623d0868e61a}{emb\+Pattern\+\_\+add\+Ellipse\+Abs}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p, \mbox{\hyperlink{embroidery_8h_a4e48ebde5bd4d82b875f98b347bdd62c}{Emb\+Ellipse}} ellipse)
\item 
void \mbox{\hyperlink{pattern_8c_af5a23f63ca8875b1984777cd479953cc}{emb\+Pattern\+\_\+add\+Line\+Abs}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p, \mbox{\hyperlink{embroidery_8h_a62e08237073617de993166ed4a9ab085}{Emb\+Line}} line)
\item 
void \mbox{\hyperlink{pattern_8c_aff0bec12c39eb9fa4ce5d884c319aa6e}{emb\+Pattern\+\_\+add\+Path\+Abs}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p, \mbox{\hyperlink{embroidery_8h_af29045dfeebafdcb66d114b390c4a686}{Emb\+Path}} obj)
\item 
void \mbox{\hyperlink{pattern_8c_a2c1bae0ddc2fe602a8a9460c97cf8d93}{emb\+Pattern\+\_\+add\+Point\+Abs}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p, \mbox{\hyperlink{embroidery_8h_a835ccc3aedf71b57dca6130be87ea463}{Emb\+Point}} obj)
\item 
void \mbox{\hyperlink{pattern_8c_a9c97f838d34c72756976c78124b3c1c6}{emb\+Pattern\+\_\+add\+Polygon\+Abs}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p, \mbox{\hyperlink{embroidery_8h_a2d6988a5f4ba24d26c7eff65dbc9d029}{Emb\+Polygon}} obj)
\item 
void \mbox{\hyperlink{pattern_8c_a3e113e806d321670edf5c2117a5d305d}{emb\+Pattern\+\_\+add\+Polyline\+Object\+Abs}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p, \mbox{\hyperlink{embroidery_8h_ab5563c868d8f8174d5be764808a647dd}{Emb\+Polyline}} obj)
\item 
void \mbox{\hyperlink{pattern_8c_acce82815d84bedaf48077694d5bddad9}{emb\+Pattern\+\_\+add\+Rect\+Abs}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p, \mbox{\hyperlink{embroidery_8h_ac2f33b151fc40a0da3b14379aa0ec653}{Emb\+Rect}} rect)
\item 
void \mbox{\hyperlink{pattern_8c_a88d9dae8d9ba52860504600c3817f6ea}{emb\+Pattern\+\_\+end}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$p)
\item 
int \mbox{\hyperlink{pattern_8c_a2e5add3887b4238d28ebc9d510f5bff7}{emb\+Pattern\+\_\+color\+\_\+count}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern, \mbox{\hyperlink{embroidery_8h_acde9d757854564332fd795a084ec88b3}{Emb\+Color}} start\+Color)
\item 
void \mbox{\hyperlink{pattern_8c_a521b227079bdcc139481887a62cac7d8}{emb\+Pattern\+\_\+design\+Details}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern)
\item 
int \mbox{\hyperlink{pattern_8c_aa4de8d6ce23118cc49a67c745b171b44}{convert}} (const char $\ast$inf, const char $\ast$outf)
\item 
float \mbox{\hyperlink{pattern_8c_ae440b4131b1d73ad8a1bc12e728c8d06}{emb\+Pattern\+\_\+total\+Stitch\+Length}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern)
\item 
float \mbox{\hyperlink{pattern_8c_a74d47671ecef2b96df06b4818c4e897c}{emb\+Pattern\+\_\+minimum\+Stitch\+Length}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern)
\item 
float \mbox{\hyperlink{pattern_8c_aee58368f0eeb39fd45542ed541d8b2c0}{emb\+Pattern\+\_\+maximum\+Stitch\+Length}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern)
\item 
void \mbox{\hyperlink{pattern_8c_a9438dfa7af346213c2045da6b3d928d2}{emb\+Pattern\+\_\+length\+Histogram}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern, int $\ast$bin, int NUMBINS)
\item 
int \mbox{\hyperlink{pattern_8c_a9fa6234c1cf2e60f0c010bcb8c595f00}{emb\+Pattern\+\_\+real\+Stitches}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern)
\item 
int \mbox{\hyperlink{pattern_8c_a168de5926ad183a253aae19374949575}{emb\+Pattern\+\_\+jump\+Stitches}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern)
\item 
int \mbox{\hyperlink{pattern_8c_ae860b71c8945cf638dd7963d9fc6962c}{emb\+Pattern\+\_\+trim\+Stitches}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern)
\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}
The file is for the management of the main struct\+: Emb\+Pattern. 

\doxysubsubsection{Function Documentation}
\mbox{\Hypertarget{pattern_8c_aa4de8d6ce23118cc49a67c745b171b44}\label{pattern_8c_aa4de8d6ce23118cc49a67c745b171b44}} 
\index{pattern.c@{pattern.c}!convert@{convert}}
\index{convert@{convert}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{convert()}{convert()}}
{\footnotesize\ttfamily int convert (\begin{DoxyParamCaption}\item[{const char $\ast$}]{inf,  }\item[{const char $\ast$}]{outf }\end{DoxyParamCaption})}

\mbox{\Hypertarget{pattern_8c_a57eea8d07ef409b346274e1dbef1b1eb}\label{pattern_8c_a57eea8d07ef409b346274e1dbef1b1eb}} 
\index{pattern.c@{pattern.c}!embPattern\_addCircleAbs@{embPattern\_addCircleAbs}}
\index{embPattern\_addCircleAbs@{embPattern\_addCircleAbs}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_addCircleAbs()}{embPattern\_addCircleAbs()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+add\+Circle\+Abs (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p,  }\item[{\mbox{\hyperlink{embroidery_8h_a87fc13ccd4dbaa7de7c85efde17bba0e}{Emb\+Circle}}}]{circle }\end{DoxyParamCaption})}

Adds a circle object to pattern ({\itshape p}) with its center at the absolute position ({\itshape cx},{\itshape cy}) with a radius of ({\itshape r}). Positive y is up. Units are in millimeters. \mbox{\Hypertarget{pattern_8c_a9d7baeee25db478c3477623d0868e61a}\label{pattern_8c_a9d7baeee25db478c3477623d0868e61a}} 
\index{pattern.c@{pattern.c}!embPattern\_addEllipseAbs@{embPattern\_addEllipseAbs}}
\index{embPattern\_addEllipseAbs@{embPattern\_addEllipseAbs}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_addEllipseAbs()}{embPattern\_addEllipseAbs()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+add\+Ellipse\+Abs (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p,  }\item[{\mbox{\hyperlink{embroidery_8h_a4e48ebde5bd4d82b875f98b347bdd62c}{Emb\+Ellipse}}}]{ellipse }\end{DoxyParamCaption})}

Adds an ellipse object to pattern ({\itshape p}) with its center at the absolute position ({\itshape cx},{\itshape cy}) with radii of ({\itshape rx},{\itshape ry}). Positive y is up. Units are in millimeters. \mbox{\Hypertarget{pattern_8c_af5a23f63ca8875b1984777cd479953cc}\label{pattern_8c_af5a23f63ca8875b1984777cd479953cc}} 
\index{pattern.c@{pattern.c}!embPattern\_addLineAbs@{embPattern\_addLineAbs}}
\index{embPattern\_addLineAbs@{embPattern\_addLineAbs}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_addLineAbs()}{embPattern\_addLineAbs()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+add\+Line\+Abs (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p,  }\item[{\mbox{\hyperlink{embroidery_8h_a62e08237073617de993166ed4a9ab085}{Emb\+Line}}}]{line }\end{DoxyParamCaption})}

Adds a line object to pattern ({\itshape p}) starting at the absolute position ({\itshape x1},{\itshape y1}) and ending at the absolute position ({\itshape x2},{\itshape y2}). Positive y is up. Units are in millimeters. \mbox{\Hypertarget{pattern_8c_aff0bec12c39eb9fa4ce5d884c319aa6e}\label{pattern_8c_aff0bec12c39eb9fa4ce5d884c319aa6e}} 
\index{pattern.c@{pattern.c}!embPattern\_addPathAbs@{embPattern\_addPathAbs}}
\index{embPattern\_addPathAbs@{embPattern\_addPathAbs}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_addPathAbs()}{embPattern\_addPathAbs()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+add\+Path\+Abs (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p,  }\item[{\mbox{\hyperlink{embroidery_8h_af29045dfeebafdcb66d114b390c4a686}{Emb\+Path}}}]{obj }\end{DoxyParamCaption})}

\mbox{\Hypertarget{pattern_8c_a2c1bae0ddc2fe602a8a9460c97cf8d93}\label{pattern_8c_a2c1bae0ddc2fe602a8a9460c97cf8d93}} 
\index{pattern.c@{pattern.c}!embPattern\_addPointAbs@{embPattern\_addPointAbs}}
\index{embPattern\_addPointAbs@{embPattern\_addPointAbs}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_addPointAbs()}{embPattern\_addPointAbs()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+add\+Point\+Abs (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p,  }\item[{\mbox{\hyperlink{embroidery_8h_a835ccc3aedf71b57dca6130be87ea463}{Emb\+Point}}}]{obj }\end{DoxyParamCaption})}

Adds a point object to pattern ({\itshape p}) at the absolute position ({\itshape x},{\itshape y}). Positive y is up. Units are in millimeters. \mbox{\Hypertarget{pattern_8c_a9c97f838d34c72756976c78124b3c1c6}\label{pattern_8c_a9c97f838d34c72756976c78124b3c1c6}} 
\index{pattern.c@{pattern.c}!embPattern\_addPolygonAbs@{embPattern\_addPolygonAbs}}
\index{embPattern\_addPolygonAbs@{embPattern\_addPolygonAbs}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_addPolygonAbs()}{embPattern\_addPolygonAbs()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+add\+Polygon\+Abs (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p,  }\item[{\mbox{\hyperlink{embroidery_8h_a2d6988a5f4ba24d26c7eff65dbc9d029}{Emb\+Polygon}}}]{obj }\end{DoxyParamCaption})}

\mbox{\Hypertarget{pattern_8c_a3e113e806d321670edf5c2117a5d305d}\label{pattern_8c_a3e113e806d321670edf5c2117a5d305d}} 
\index{pattern.c@{pattern.c}!embPattern\_addPolylineObjectAbs@{embPattern\_addPolylineObjectAbs}}
\index{embPattern\_addPolylineObjectAbs@{embPattern\_addPolylineObjectAbs}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_addPolylineObjectAbs()}{embPattern\_addPolylineObjectAbs()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+add\+Polyline\+Object\+Abs (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p,  }\item[{\mbox{\hyperlink{embroidery_8h_ab5563c868d8f8174d5be764808a647dd}{Emb\+Polyline}}}]{obj }\end{DoxyParamCaption})}

\mbox{\Hypertarget{pattern_8c_acce82815d84bedaf48077694d5bddad9}\label{pattern_8c_acce82815d84bedaf48077694d5bddad9}} 
\index{pattern.c@{pattern.c}!embPattern\_addRectAbs@{embPattern\_addRectAbs}}
\index{embPattern\_addRectAbs@{embPattern\_addRectAbs}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_addRectAbs()}{embPattern\_addRectAbs()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+add\+Rect\+Abs (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p,  }\item[{\mbox{\hyperlink{embroidery_8h_ac2f33b151fc40a0da3b14379aa0ec653}{Emb\+Rect}}}]{rect }\end{DoxyParamCaption})}

Adds a rectangle object to pattern ({\itshape p}) at the absolute position ({\itshape x},{\itshape y}) with a width of ({\itshape w}) and a height of ({\itshape h}). Positive y is up. Units are in millimeters. \mbox{\Hypertarget{pattern_8c_a17fc7b79b4797c2fe3525a0d98d2c7a1}\label{pattern_8c_a17fc7b79b4797c2fe3525a0d98d2c7a1}} 
\index{pattern.c@{pattern.c}!embPattern\_addStitchAbs@{embPattern\_addStitchAbs}}
\index{embPattern\_addStitchAbs@{embPattern\_addStitchAbs}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_addStitchAbs()}{embPattern\_addStitchAbs()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+add\+Stitch\+Abs (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p,  }\item[{\mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}}}]{x,  }\item[{\mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}}}]{y,  }\item[{int}]{flags,  }\item[{int}]{is\+Auto\+Color\+Index }\end{DoxyParamCaption})}

Adds a stitch to the pattern ({\itshape p}) at the absolute position ({\itshape x},{\itshape y}). Positive y is up. Units are in millimeters. \mbox{\Hypertarget{pattern_8c_a5b40e9cf89cafe0759660391bb077157}\label{pattern_8c_a5b40e9cf89cafe0759660391bb077157}} 
\index{pattern.c@{pattern.c}!embPattern\_addStitchRel@{embPattern\_addStitchRel}}
\index{embPattern\_addStitchRel@{embPattern\_addStitchRel}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_addStitchRel()}{embPattern\_addStitchRel()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+add\+Stitch\+Rel (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p,  }\item[{\mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}}}]{dx,  }\item[{\mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}}}]{dy,  }\item[{int}]{flags,  }\item[{int}]{is\+Auto\+Color\+Index }\end{DoxyParamCaption})}

Adds a stitch to the pattern ({\itshape p}) at the relative position ({\itshape dx},{\itshape dy}) to the previous stitch. Positive y is up. Units are in millimeters. \mbox{\Hypertarget{pattern_8c_a47939925c2c6e7a4c48f3341d5646cac}\label{pattern_8c_a47939925c2c6e7a4c48f3341d5646cac}} 
\index{pattern.c@{pattern.c}!embPattern\_addThread@{embPattern\_addThread}}
\index{embPattern\_addThread@{embPattern\_addThread}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_addThread()}{embPattern\_addThread()}}
{\footnotesize\ttfamily int emb\+Pattern\+\_\+add\+Thread (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern,  }\item[{\mbox{\hyperlink{embroidery_8h_ab3faffce89b1a5043f8b4e3a001a70bd}{Emb\+Thread}}}]{thread }\end{DoxyParamCaption})}

{\itshape pattern} {\itshape thread} \begin{DoxyReturn}{Returns}
int 
\end{DoxyReturn}
\mbox{\Hypertarget{pattern_8c_ac7b08c708386bb4559bc697aba059606}\label{pattern_8c_ac7b08c708386bb4559bc697aba059606}} 
\index{pattern.c@{pattern.c}!embPattern\_calcBoundingBox@{embPattern\_calcBoundingBox}}
\index{embPattern\_calcBoundingBox@{embPattern\_calcBoundingBox}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_calcBoundingBox()}{embPattern\_calcBoundingBox()}}
{\footnotesize\ttfamily \mbox{\hyperlink{embroidery_8h_ac2f33b151fc40a0da3b14379aa0ec653}{Emb\+Rect}} emb\+Pattern\+\_\+calc\+Bounding\+Box (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p }\end{DoxyParamCaption})}

Returns an Emb\+Rect that encapsulates all stitches and objects in the pattern ({\itshape p}). \mbox{\Hypertarget{pattern_8c_a946dffa0158312022c6d29ace7bcaa5f}\label{pattern_8c_a946dffa0158312022c6d29ace7bcaa5f}} 
\index{pattern.c@{pattern.c}!embPattern\_center@{embPattern\_center}}
\index{embPattern\_center@{embPattern\_center}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_center()}{embPattern\_center()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+center (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p }\end{DoxyParamCaption})}

Center the pattern {\itshape p}. \mbox{\Hypertarget{pattern_8c_a3eeb95756c08038c1c34f7684eb89fbb}\label{pattern_8c_a3eeb95756c08038c1c34f7684eb89fbb}} 
\index{pattern.c@{pattern.c}!embPattern\_changeColor@{embPattern\_changeColor}}
\index{embPattern\_changeColor@{embPattern\_changeColor}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_changeColor()}{embPattern\_changeColor()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+change\+Color (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p,  }\item[{int}]{index }\end{DoxyParamCaption})}

Change the current\+Color\+Index of pattern {\itshape p} to {\itshape index}. \mbox{\Hypertarget{pattern_8c_a2e5add3887b4238d28ebc9d510f5bff7}\label{pattern_8c_a2e5add3887b4238d28ebc9d510f5bff7}} 
\index{pattern.c@{pattern.c}!embPattern\_color\_count@{embPattern\_color\_count}}
\index{embPattern\_color\_count@{embPattern\_color\_count}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_color\_count()}{embPattern\_color\_count()}}
{\footnotesize\ttfamily int emb\+Pattern\+\_\+color\+\_\+count (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern,  }\item[{\mbox{\hyperlink{embroidery_8h_acde9d757854564332fd795a084ec88b3}{Emb\+Color}}}]{start\+Color }\end{DoxyParamCaption})}

\mbox{\Hypertarget{pattern_8c_ae90a804c5c8c1672a93b334ef7df5751}\label{pattern_8c_ae90a804c5c8c1672a93b334ef7df5751}} 
\index{pattern.c@{pattern.c}!embPattern\_combineJumpStitches@{embPattern\_combineJumpStitches}}
\index{embPattern\_combineJumpStitches@{embPattern\_combineJumpStitches}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_combineJumpStitches()}{embPattern\_combineJumpStitches()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+combine\+Jump\+Stitches (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p }\end{DoxyParamCaption})}

{\itshape p} \mbox{\Hypertarget{pattern_8c_a54aee02ff890052e686ee3833530810e}\label{pattern_8c_a54aee02ff890052e686ee3833530810e}} 
\index{pattern.c@{pattern.c}!embPattern\_copyPolylinesTostitch\_list@{embPattern\_copyPolylinesTostitch\_list}}
\index{embPattern\_copyPolylinesTostitch\_list@{embPattern\_copyPolylinesTostitch\_list}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_copyPolylinesTostitch\_list()}{embPattern\_copyPolylinesTostitch\_list()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+copy\+Polylines\+Tostitch\+\_\+list (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p }\end{DoxyParamCaption})}

Copies all of the Emb\+Polyline\+Object\+List data to Embstitch\+\_\+list data for pattern ({\itshape p}). \mbox{\Hypertarget{pattern_8c_a007fd0ac881d6ac89ef4d42b280df25c}\label{pattern_8c_a007fd0ac881d6ac89ef4d42b280df25c}} 
\index{pattern.c@{pattern.c}!embPattern\_copystitch\_listToPolylines@{embPattern\_copystitch\_listToPolylines}}
\index{embPattern\_copystitch\_listToPolylines@{embPattern\_copystitch\_listToPolylines}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_copystitch\_listToPolylines()}{embPattern\_copystitch\_listToPolylines()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+copystitch\+\_\+list\+To\+Polylines (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p }\end{DoxyParamCaption})}

Copies all of the Embstitch\+\_\+list data to Emb\+Polyline\+Object\+List data for pattern ({\itshape p}). \mbox{\Hypertarget{pattern_8c_a6d1fde93564a15d1ec24399fc613d1ac}\label{pattern_8c_a6d1fde93564a15d1ec24399fc613d1ac}} 
\index{pattern.c@{pattern.c}!embPattern\_correctForMaxStitchLength@{embPattern\_correctForMaxStitchLength}}
\index{embPattern\_correctForMaxStitchLength@{embPattern\_correctForMaxStitchLength}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_correctForMaxStitchLength()}{embPattern\_correctForMaxStitchLength()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+correct\+For\+Max\+Stitch\+Length (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p,  }\item[{\mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}}}]{max\+Stitch\+Length,  }\item[{\mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}}}]{max\+Jump\+Length }\end{DoxyParamCaption})}

\begin{DoxyRefDesc}{Todo}
\item[\mbox{\hyperlink{todo__todo000238}{Todo}}]The params determine the max XY movement rather than the length. They need renamed or clarified further. \end{DoxyRefDesc}
\mbox{\Hypertarget{pattern_8c_a7454ecbf98b46d74f1138772b6c9244f}\label{pattern_8c_a7454ecbf98b46d74f1138772b6c9244f}} 
\index{pattern.c@{pattern.c}!embPattern\_create@{embPattern\_create}}
\index{embPattern\_create@{embPattern\_create}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_create()}{embPattern\_create()}}
{\footnotesize\ttfamily \mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$ emb\+Pattern\+\_\+create (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

Returns a pointer to an Emb\+Pattern. It is created on the heap. The caller is responsible for freeing the allocated memory with \mbox{\hyperlink{pattern_8c_a644e83f2c9bcb606bc0b252a6fe443ed}{emb\+Pattern\+\_\+free()}}.

\begin{DoxyReturn}{Returns}
Emb\+Pattern$\ast$ 
\end{DoxyReturn}
\mbox{\Hypertarget{pattern_8c_a521b227079bdcc139481887a62cac7d8}\label{pattern_8c_a521b227079bdcc139481887a62cac7d8}} 
\index{pattern.c@{pattern.c}!embPattern\_designDetails@{embPattern\_designDetails}}
\index{embPattern\_designDetails@{embPattern\_designDetails}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_designDetails()}{embPattern\_designDetails()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+design\+Details (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern }\end{DoxyParamCaption})}

\mbox{\Hypertarget{pattern_8c_a88d9dae8d9ba52860504600c3817f6ea}\label{pattern_8c_a88d9dae8d9ba52860504600c3817f6ea}} 
\index{pattern.c@{pattern.c}!embPattern\_end@{embPattern\_end}}
\index{embPattern\_end@{embPattern\_end}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_end()}{embPattern\_end()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+end (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p }\end{DoxyParamCaption})}

\mbox{\Hypertarget{pattern_8c_a07b42ab1ae4028608bf4462d4a5abbcc}\label{pattern_8c_a07b42ab1ae4028608bf4462d4a5abbcc}} 
\index{pattern.c@{pattern.c}!embPattern\_fixColorCount@{embPattern\_fixColorCount}}
\index{embPattern\_fixColorCount@{embPattern\_fixColorCount}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_fixColorCount()}{embPattern\_fixColorCount()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+fix\+Color\+Count (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p }\end{DoxyParamCaption})}

{\itshape p} \mbox{\Hypertarget{pattern_8c_abc02ab8185e23b961cfaf0146959fc9b}\label{pattern_8c_abc02ab8185e23b961cfaf0146959fc9b}} 
\index{pattern.c@{pattern.c}!embPattern\_flip@{embPattern\_flip}}
\index{embPattern\_flip@{embPattern\_flip}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_flip()}{embPattern\_flip()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+flip (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p,  }\item[{int}]{horz,  }\item[{int}]{vert }\end{DoxyParamCaption})}

Flips the entire pattern ({\itshape p}) horizontally about the x-\/axis if ({\itshape horz}) is true. Flips the entire pattern ({\itshape p}) vertically about the y-\/axis if ({\itshape vert}) is true. \mbox{\Hypertarget{pattern_8c_a03aeabbb8a0817a43c99e21b13cb385d}\label{pattern_8c_a03aeabbb8a0817a43c99e21b13cb385d}} 
\index{pattern.c@{pattern.c}!embPattern\_flipHorizontal@{embPattern\_flipHorizontal}}
\index{embPattern\_flipHorizontal@{embPattern\_flipHorizontal}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_flipHorizontal()}{embPattern\_flipHorizontal()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+flip\+Horizontal (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p }\end{DoxyParamCaption})}

Flips the entire pattern ({\itshape p}) horizontally about the y-\/axis. \mbox{\Hypertarget{pattern_8c_a9290c221f3fe26b76d2ba89f55c7506e}\label{pattern_8c_a9290c221f3fe26b76d2ba89f55c7506e}} 
\index{pattern.c@{pattern.c}!embPattern\_flipVertical@{embPattern\_flipVertical}}
\index{embPattern\_flipVertical@{embPattern\_flipVertical}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_flipVertical()}{embPattern\_flipVertical()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+flip\+Vertical (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p }\end{DoxyParamCaption})}

Flips the entire pattern ({\itshape p}) vertically about the x-\/axis. \mbox{\Hypertarget{pattern_8c_a644e83f2c9bcb606bc0b252a6fe443ed}\label{pattern_8c_a644e83f2c9bcb606bc0b252a6fe443ed}} 
\index{pattern.c@{pattern.c}!embPattern\_free@{embPattern\_free}}
\index{embPattern\_free@{embPattern\_free}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_free()}{embPattern\_free()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p }\end{DoxyParamCaption})}

Frees all memory allocated in the pattern ({\itshape p}). \mbox{\Hypertarget{pattern_8c_a5bb50be01adbf928259862522b20a7ef}\label{pattern_8c_a5bb50be01adbf928259862522b20a7ef}} 
\index{pattern.c@{pattern.c}!embPattern\_hideStitchesOverLength@{embPattern\_hideStitchesOverLength}}
\index{embPattern\_hideStitchesOverLength@{embPattern\_hideStitchesOverLength}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_hideStitchesOverLength()}{embPattern\_hideStitchesOverLength()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+hide\+Stitches\+Over\+Length (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p,  }\item[{int}]{length }\end{DoxyParamCaption})}

{\itshape p} {\itshape length} \mbox{\Hypertarget{pattern_8c_a168de5926ad183a253aae19374949575}\label{pattern_8c_a168de5926ad183a253aae19374949575}} 
\index{pattern.c@{pattern.c}!embPattern\_jumpStitches@{embPattern\_jumpStitches}}
\index{embPattern\_jumpStitches@{embPattern\_jumpStitches}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_jumpStitches()}{embPattern\_jumpStitches()}}
{\footnotesize\ttfamily int emb\+Pattern\+\_\+jump\+Stitches (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern }\end{DoxyParamCaption})}

\mbox{\Hypertarget{pattern_8c_a9438dfa7af346213c2045da6b3d928d2}\label{pattern_8c_a9438dfa7af346213c2045da6b3d928d2}} 
\index{pattern.c@{pattern.c}!embPattern\_lengthHistogram@{embPattern\_lengthHistogram}}
\index{embPattern\_lengthHistogram@{embPattern\_lengthHistogram}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_lengthHistogram()}{embPattern\_lengthHistogram()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+length\+Histogram (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern,  }\item[{int $\ast$}]{bin,  }\item[{int}]{NUMBINS }\end{DoxyParamCaption})}

\mbox{\Hypertarget{pattern_8c_affce36de035972e292b112c90c0a3db3}\label{pattern_8c_affce36de035972e292b112c90c0a3db3}} 
\index{pattern.c@{pattern.c}!embPattern\_loadExternalColorFile@{embPattern\_loadExternalColorFile}}
\index{embPattern\_loadExternalColorFile@{embPattern\_loadExternalColorFile}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_loadExternalColorFile()}{embPattern\_loadExternalColorFile()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+load\+External\+Color\+File (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p,  }\item[{const char $\ast$}]{file\+Name }\end{DoxyParamCaption})}

TODO\+: Description needed. \mbox{\Hypertarget{pattern_8c_aee58368f0eeb39fd45542ed541d8b2c0}\label{pattern_8c_aee58368f0eeb39fd45542ed541d8b2c0}} 
\index{pattern.c@{pattern.c}!embPattern\_maximumStitchLength@{embPattern\_maximumStitchLength}}
\index{embPattern\_maximumStitchLength@{embPattern\_maximumStitchLength}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_maximumStitchLength()}{embPattern\_maximumStitchLength()}}
{\footnotesize\ttfamily float emb\+Pattern\+\_\+maximum\+Stitch\+Length (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern }\end{DoxyParamCaption})}

\mbox{\Hypertarget{pattern_8c_a74d47671ecef2b96df06b4818c4e897c}\label{pattern_8c_a74d47671ecef2b96df06b4818c4e897c}} 
\index{pattern.c@{pattern.c}!embPattern\_minimumStitchLength@{embPattern\_minimumStitchLength}}
\index{embPattern\_minimumStitchLength@{embPattern\_minimumStitchLength}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_minimumStitchLength()}{embPattern\_minimumStitchLength()}}
{\footnotesize\ttfamily float emb\+Pattern\+\_\+minimum\+Stitch\+Length (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern }\end{DoxyParamCaption})}

\mbox{\Hypertarget{pattern_8c_a36011b0cbca0eff52965384fc39428cf}\label{pattern_8c_a36011b0cbca0eff52965384fc39428cf}} 
\index{pattern.c@{pattern.c}!embPattern\_movePolylinesTostitch\_list@{embPattern\_movePolylinesTostitch\_list}}
\index{embPattern\_movePolylinesTostitch\_list@{embPattern\_movePolylinesTostitch\_list}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_movePolylinesTostitch\_list()}{embPattern\_movePolylinesTostitch\_list()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+move\+Polylines\+Tostitch\+\_\+list (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p }\end{DoxyParamCaption})}

Moves all of the Emb\+Polyline\+Object\+List data to Embstitch\+\_\+list data for pattern ({\itshape p}). \mbox{\Hypertarget{pattern_8c_a53eb1589455d6b26f039bc896896c318}\label{pattern_8c_a53eb1589455d6b26f039bc896896c318}} 
\index{pattern.c@{pattern.c}!embPattern\_movestitch\_listToPolylines@{embPattern\_movestitch\_listToPolylines}}
\index{embPattern\_movestitch\_listToPolylines@{embPattern\_movestitch\_listToPolylines}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_movestitch\_listToPolylines()}{embPattern\_movestitch\_listToPolylines()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+movestitch\+\_\+list\+To\+Polylines (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p }\end{DoxyParamCaption})}

Moves all of the Embstitch\+\_\+list data to Emb\+Polyline\+Object\+List data for pattern ({\itshape p}). \mbox{\Hypertarget{pattern_8c_a9fa6234c1cf2e60f0c010bcb8c595f00}\label{pattern_8c_a9fa6234c1cf2e60f0c010bcb8c595f00}} 
\index{pattern.c@{pattern.c}!embPattern\_realStitches@{embPattern\_realStitches}}
\index{embPattern\_realStitches@{embPattern\_realStitches}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_realStitches()}{embPattern\_realStitches()}}
{\footnotesize\ttfamily int emb\+Pattern\+\_\+real\+Stitches (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern }\end{DoxyParamCaption})}

\mbox{\Hypertarget{pattern_8c_a0a009a0eb0cb46f3448670f22898c0d6}\label{pattern_8c_a0a009a0eb0cb46f3448670f22898c0d6}} 
\index{pattern.c@{pattern.c}!embPattern\_scale@{embPattern\_scale}}
\index{embPattern\_scale@{embPattern\_scale}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_scale()}{embPattern\_scale()}}
{\footnotesize\ttfamily void emb\+Pattern\+\_\+scale (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{p,  }\item[{\mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}}}]{scale }\end{DoxyParamCaption})}

Very simple scaling of the x and y axis for every point. Doesn\textquotesingle{}t insert or delete stitches to preserve density. \mbox{\Hypertarget{pattern_8c_ae440b4131b1d73ad8a1bc12e728c8d06}\label{pattern_8c_ae440b4131b1d73ad8a1bc12e728c8d06}} 
\index{pattern.c@{pattern.c}!embPattern\_totalStitchLength@{embPattern\_totalStitchLength}}
\index{embPattern\_totalStitchLength@{embPattern\_totalStitchLength}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_totalStitchLength()}{embPattern\_totalStitchLength()}}
{\footnotesize\ttfamily float emb\+Pattern\+\_\+total\+Stitch\+Length (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern }\end{DoxyParamCaption})}

{\itshape pattern} \begin{DoxyReturn}{Returns}
float 
\end{DoxyReturn}
\mbox{\Hypertarget{pattern_8c_ae860b71c8945cf638dd7963d9fc6962c}\label{pattern_8c_ae860b71c8945cf638dd7963d9fc6962c}} 
\index{pattern.c@{pattern.c}!embPattern\_trimStitches@{embPattern\_trimStitches}}
\index{embPattern\_trimStitches@{embPattern\_trimStitches}!pattern.c@{pattern.c}}
\doxyparagraph{\texorpdfstring{embPattern\_trimStitches()}{embPattern\_trimStitches()}}
{\footnotesize\ttfamily int emb\+Pattern\+\_\+trim\+Stitches (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern }\end{DoxyParamCaption})}

